package com.example.demo.entity;

import lombok.Data;

@Data
public class Cart {
    private Long  id;
    private String author;
    private String bookName;
    private String user;
    private String price;
    private int flag;
    public Cart(Long id, String user, String bookName, String author, String price) {
        this.user = user;
        this.bookName = bookName;
        this.author = author;
        this.id = id;
        this.price = price;
    }
    public String getUser() {
        return user;
    }
}
